home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1519 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.mindlink.net!news
  2. From: genew@mindlink.bc.ca (Gene Wirchenko)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: help encryption program
  5. Date: Sun, 14 Jan 1996 21:32:23 GMT
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Message-ID: <4dbsri$65s@fountain.mindlink.net>
  8. References: <4dbb0o$dbm@jaring.my>
  9. NNTP-Posting-Host: line242.nwm.mindlink.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. meimei@pl.jaring.my wrote:
  13.  
  14. >Requirement :
  15. >==========
  16.  
  17. >A encryption scheme is to interchange letters of the alphabet on a
  18. >one-to-one basis. This can be accomplished with a transalation table
  19. >for the 52 lowercase and uppercase letters.
  20.  
  21. >Write a C program that implements such a scheme to encode text. The
  22. >program must also have the option to decode text thst has been
  23. >encoded. The user must select whether he wants to encode or decode the
  24. >text and then type in the appropriate text.
  25.  
  26. >Can anyone solve the above problem ?
  27.  
  28.      But, of course.  "Can you solve the problem?" is more relevant.
  29.  
  30.      The way I've always taught programming is trial by fire.
  31.  
  32.      YOU have to sweat it out yourself.  If you need help, show that
  33. you have given it your best by posting code or your analysis so far.
  34. I may then deign to assist you.
  35.  
  36.      Please remember that it is YOUR cart stuck in the mud.  If you
  37. can't be bothered to push, neither can I (or a lot of others).
  38.  
  39.      There is quite a rush to solving a difficult-for-you problem.  I
  40. figured out one that took me about fifteen years - I smiled.
  41.  
  42. Sincerely,
  43.  
  44. Gene Wirchenko
  45.  
  46. C Pronunciation Guide:
  47.      y=x++;     "wye equals ex plus plus semicolon"
  48.      x=x++;     "ex equals ex doublecross semicolon"
  49.  
  50.